import random
import clr
from copy import copy
from ContinentDictionary import*
from randPlayer import *
def boardUpdate(game, plyr1, t1, t1Army, t2 = None, t2Army = None, plyr2 = None):
    tempboard = game.getBoard().copy()
    tempboard[t1] = (plyr1, t1Army)
    if t2 is not None and t2Army is not None and plyr2 is not None:
        tempboard[t2] = (plyr2, t2Army)
    return game.setBoard(tempboard)